﻿using Avalonia;
using Avalonia.Controls;
using System.Windows.Input;
using KinonekoSoftware.Foundation.Styles;

namespace KinonekoSoftware.Studio.Contents
{
    public partial class Component_NoData : UserControl
    {

        public static readonly StyledProperty<ColorPalette> PaletteProperty = AvaloniaProperty.Register<Component_NoData, ColorPalette>(nameof(ColorPalette));
        public static readonly StyledProperty<ICommand>       CommandProperty = AvaloniaProperty.Register<Component_NoData, ICommand>(nameof(Command));

        
        public Component_NoData()
        {
            InitializeComponent();
        }
        
        public ICommand Command
        {
            get => GetValue(CommandProperty);
            set => SetValue(CommandProperty, value);
        }
        
        public ColorPalette Palette
        {
            get => GetValue(PaletteProperty);
            set => SetValue(PaletteProperty, value);
        }
    }
}